#!/usr/bin/env python
"""
gprecoverseg

Recovers Greenplum segment instances that are marked as invalid, 
if mirroring is configured and operational.
"""

#
# THIS IMPORT MUST COME FIRST
#
# import mainUtils FIRST to get python version check
from gppylib.mainUtils import simple_main
from gppylib.programs.clsRecoverSegment import GpRecoverSegmentProgram

if __name__ == '__main__':
    simple_main(GpRecoverSegmentProgram.createParser,
                GpRecoverSegmentProgram.createProgram,
                GpRecoverSegmentProgram.mainOptions())
